import { View, Text, StyleSheet } from "react-native";
const Spike = () => {
  return (
    <View style={styles.container}>
      <View style={styles.left}>
        <Text style={styles.title}>京东秒杀</Text>
        <Text style={styles.time}>限时低价</Text>
        <View style={styles.go}>
          <Text>去抢购</Text>
        </View>
      </View>
    </View>
  );
};
export default Spike;
const styles = StyleSheet.create({
  container: {
    width: "95%",
    height: 160,
    margin: "auto",
    marginTop: 10,
    backgroundColor: "#fd422f",
    borderRadius: 10,
  },
  left: {
    paddingLeft: 10,
    width: "30%",
    height: "100%",
    justifyContent: "center",
  },
  title: {
    fontSize: 24,
    fontWeight: 900,
    fontStyle:'italic',
    color: "#fff",
  },
  time: {},
  go: {},
  right: {},
  more: {
    color: "#fff",
    fontSize: 20,
    marginLeft: 5,
  },
});
